<p-growl [value]="msgs"></p-growl>

<p-tabView>
    <p-tabPanel header="平均工资" leftIcon="fa-calendar" >
        <p-chart type="line" [data]="data" (onDataSelect)="selectData($event)"></p-chart>
    </p-tabPanel>
    <p-tabPanel header="最高工资" leftIcon="fa-print">
        <p-chart type="line" [data]="maxdata" (onDataSelect)="selectData($event)"></p-chart>
    </p-tabPanel>
    <p-tabPanel header="最低工资" leftIcon="fa-calendar" >
        <p-chart type="line" [data]="mindata" (onDataSelect)="selectData($event)"></p-chart>
    </p-tabPanel>
</p-tabView>